import java.util.Scanner;

/**
 * Created with Intellij IDEA.
 * Description;
 * User:TQ02
 * Data:2023-11-10
 * Time:14:00
 * Text：
 */
public class text3 {
    public static void main(String[] args) {
        int[] array=new int[]{99,22,51,63,72,61,20,88,40,21,63,30,11,18,99,12,93,16,7,53,64,9,28,84,34,96,52,82,51,77};
        int count=0;
        for(int i=0;i<array.length;i++){
            for(int k=i+1;k<array.length;k++){
                if(array[k]*array[i]>=2022){
                    count++;
                }
            }
        }
        System.out.println(count);
    }
}
